Repository navigation
Conversation
…eir declared effects when Auto mode is off.
…iew and a security check with fixes.
…ge and approval cards.
… security gate never has to guess.
…World annotations.
…nt command, and serve the session token to browsers only.
…t Strict, confine their writes to the workspace.
… address of the agent's web requests.
…secrets are kept out of tools.
…'s known secret values in every log line.
…rs by unique username with a required mention at higher levels.
…d while keeping chats, memory and the audit log.
… browser interface.
…e costs microseconds per action.
…agent guidance for refused actions.
…unattended status carry over.
…ens into all six other languages.
…so protected settings.json is never needed.
…evel redacts logs.
… while TLS still verifies the host name.
…s may reach the agent.
… at Enhanced and Strict.
…, web requests, the inbox and Discord.
…hecks, in CI on Linux and Windows.
…rks a message as the owner's.
… that chat, so Strict stops asking before each edit.
…s order and fall back to the next checked address, so sites stop failing on networks without IPv6.
…ent not to reach a blocked address another way.
… Browser can reach a dev server or local device, and leave names only a configured proxy can resolve to that proxy.
…t to ask the user to add a server in Settings when mcp_config.json is protected.
…etadata again, refusing only requests a browser labels cross-site, and correct the docs that said local programs could not get it.
… temp folder, and name the Also allow writing in list when a write is refused.
…change to it is held back, tell the agent when its write is held back, and keep the user's own edits made outside CraftBot.
… write that would save a hidden value over the real one.
…uses a model on this computer or the local network, so cloud models get pages and messages unaltered.
… keys are kept out, and name the variables kept out when a command fails.
…, keeping Hermes' rules for what gets flagged.
…decision or cannot decide, instead of refusing it as if it had judged the command.
…ates, and editing shell startup files only when the run read outside content or was started by someone else.
…line two rules flag once, and treat sending an environment variable to an API as a warning.
…owners work, and log once when a listed owner matches no saved ID or only a display name.
…ed it, and that GitHub may be limiting requests, when a checksum cannot be looked up.
… out, and label it as acting only on new emails.
…check, on the MCP page, and to the agent when it looks for that server's actions.
… not on screen, and clear it once the card is seen or the request ends.
…tate when the chat is cleared or deleted, and a sub-agent's when it is released.
…ft out, so the agent does not read it as no matches.
…e file guard, so a protected file cannot be sent out through an integration.
…es it picks, since anything in the address reaches that site.
…s file tools, and disable it with a note when the scan blocks it.
…hich broke read_settings.
…s asked for, so a plain read_settings stays short.
…CraftBot hides, so a redacted report or a log scrubber's test can be written.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why?
Hardens CraftBot security through configuration. CraftBot reads email, web pages and chat, then acts with the user's shell, files and accounts, so one planted instruction could run commands, leak keys or message people. This adds an action gate, modelled on OpenClaw and Hermes Agent, that judges every action by what it declares it does. Some protections are always on: destructive commands are refused, outside content is marked as data, secrets are masked in logs, there is a tamper-evident audit log, and Discord owners are matched by user ID. Opt-in protections:
.envfiles away from the agent's tools;The opt-in protections are off by default, so existing users keep today's behaviour and speed unless they raise the level. The branch also fixes the MCP tool-name code execution issue (#540).